<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'msg_add.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style>
body{margin:0;
}
.content {
	width: 660px;
	min-height: 600px;
	font-size: 14px;
	margin-left:5px;
	float:left;
	
}

.bodyge-left-a1 {
	width: 660px;
	height: auto;
	border-bottom: solid 2px #5F5F5F;
	margin-top: 5px;
	margin-bottom: 9px;
}

.font-b {
	font-size: 20px;
	font-weight: bold;
	color: #5F5F5F;
}
</style>
</head>

<body>
		<div class="content">
		<div class="bodyge-left-a1">
			<span class="font-b">写信</span>
		</div>
		<form action="front/msg_add" method="post">
			收件人：<input type="text" size="30" name="msg.receiver" /><br /> <br />
			标题：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="msg.title" size="30"/><br />
			<br />
			<div style="float:left">正文：&nbsp;&nbsp;&nbsp;&nbsp;</div>
			<textarea name="msg.content" rows=30 cols=70
				style="overflow:auto;float:left;clear:right;">
	    	</textarea>
			<div style="width:100%; float:left; margin-left:30px;margin-top:5px;">
				<input type="submit" value="发送" />
			</div>
		</form>
	</div>
</body>
</html>
